<?php

/**
 * @Desc:
 * @author dasheng@baofu.com(大圣)
 * @datetime 2025/4/6 10:48
 */

namespace App\Service\baofu\Entity;

class SyncUploadFileEntity implements \JsonSerializable
{
    public $accType;
    public $transSerialNo;
    public $businessParams;
    public $noticeUrl;
    public $fileNameMap = [];

    public function AddFileNameMap($fnm)
    {
        $this->fileNameMap[] = $fnm;
    }

    public function jsonSerialize()
    {
        return array_filter((array)$this, function($v) {
            return $v !== null;
        });
        // TODO: Implement jsonSerialize() method.
    }
}
